package checkOnesSegment;

public class Solution {
    public boolean checkOnesSegment(String s) {
        //
//        return s.split("0").length<=1;
        return s.contains("01");
    }
}
